package tech.konata.packetfix;

import de.florianmichael.viamcp.ViaMCP;
import tech.konata.packetfix.modules.PacketFix;
import tech.konata.phosphate.management.ModuleManager;
import tech.konata.phosphate.plugin.Plugin;

public class PluginMain extends Plugin {

    public PluginMain() {
        super("ViaPhosphate", "mixins.viaphosphate.json");
    }

    public static PacketFix packetFix;

    @Override
    public void onPreInit() {

    }

    @Override
    public void onInit() {
        ViaMCP.create();
        ViaMCP.INSTANCE.initAsyncSlider();

        packetFix = new PacketFix();

        ModuleManager.getModules().add(packetFix);
    }

    @Override
    public void onStop() {

    }
}
